
using System;
using System.Collections;

namespace FutureOpen.Core
{
	#region Loc

	/// <summary>
	/// Loc string for NHibernate mapped table 'loc'.
	/// </summary>
	public class Loc
		{
		#region Member Variables
		
		protected int _loc_id;
		protected string _loc_name;

		#endregion

		#region Constructors

		public Loc() { }

		public Loc( string loc_name )
		{
			this._loc_name = loc_name;
		}

		#endregion

		#region Public Properties

		public virtual int Loc_id
		{
			get {return _loc_id;}
			set {_loc_id = value;}
		}

		public virtual string Loc_name
		{
			get { return _loc_name; }
			set
			{
				if ( value != null && value.Length > 300)
					throw new ArgumentOutOfRangeException("Invalid value for Loc_name", value, value.ToString());
				_loc_name = value;
			}
		}

        
		#endregion
		
        
	}

	#endregion
}
